<include file="Public:header" />

<div class="tools"> 
	<div class="add"><span><a href="{:U('System/editwebs')}">添加</a></span></div>
	<div class="del"><span><a href="javascript:void(0);" onclick="del(0,'webs','webs');">删除</a></span></div>
	<div class="add"><span><a href="javascript:void(0);" onclick="hui(0,'webs','webs');">恢复</a></span></div>
</div>
<div class="content">
<!-----------------------------------------内容开始--------------------------------------------------->
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tabBox">
<tr class="tabTitleMain">
    <td width="5%" class="selectAll"><a href="javascript:;" id="selall">全选</a></td>
    <td width="5%">ID号</td>
    <td width="20%">网址</td>
    <td width="20%">名称</td>
    <td width="16%">操作</td>
</tr>


<volist name='list' id='l'>
<tr class="tabTextMain" id="From_1" onmouseout="this.style.background='#FFFFFF';" onmouseover="this.style.background='#fbf435';">
	<td><input type="checkbox" name="ids" id="ids" value="{$l.id}"></td>
	<td>{$l.id}</td>
	<td>{$l.website}</td>
	<td>{$l.name}</td>
	<td>
		<a href="{:U('System/sysset',array(webid=>$l[id]))}">参数配置</a>
		|
		<a href="{:U('System/editwebs',array(id=>$l[id]))}">修改</a>
		|
		<php>
		if($l['state']==1){
		</php>
			<a href="javascript:;" onclick="del({$l.id},'webs','webs');">删除</a>
		<php>
		}else if($l['state']==3){
		</php>
			<a href="javascript:;" onclick="hui({$l.id},'webs','webs');">恢复</a>
		<php>
		}
		</php>
	</td>
</tr>
</volist>
  
</table> 
<div class="page">{$page}</div>
<!-----------------------------------------内容结束--------------------------------------------------->
</div>

<script type="text/javascript" src="__JS__/admin_common.js"></script>

<include file="Public:footer" />
